package com.oms.domain;

import java.sql.Timestamp;

/**
 * Collection entity. @author MyEclipse Persistence Tools
 */

public class Collection implements java.io.Serializable {

	

	/**
	 * 
	 */
	private static final long serialVersionUID = -2624472262121303077L;
	
	// Fields
	private Integer collectionId;
	private User user;
	private String attentionObjectTableName;
	private Integer attentionObjectId;
	private Timestamp attentionTime;
	private Timestamp lastUpdateTime;
	private Boolean deleteTag;
	private String expandBar1;
	private String expandBar2;

	// Constructors

	/** default constructor */
	public Collection() {
	}

	/** minimal constructor */
	public Collection(User user, String attentionObjectTableName,
			Integer attentionObjectId, Timestamp attentionTime,
			Boolean deleteTag) {
		this.user = user;
		this.attentionObjectTableName = attentionObjectTableName;
		this.attentionObjectId = attentionObjectId;
		this.attentionTime = attentionTime;
		this.deleteTag = deleteTag;
	}

	/** full constructor */
	public Collection(User user, String attentionObjectTableName,
			Integer attentionObjectId, Timestamp attentionTime,
			Timestamp lastUpdateTime, Boolean deleteTag, String expandBar1,
			String expandBar2) {
		this.user = user;
		this.attentionObjectTableName = attentionObjectTableName;
		this.attentionObjectId = attentionObjectId;
		this.attentionTime = attentionTime;
		this.lastUpdateTime = lastUpdateTime;
		this.deleteTag = deleteTag;
		this.expandBar1 = expandBar1;
		this.expandBar2 = expandBar2;
	}

	// Property accessors

	public Integer getCollectionId() {
		return this.collectionId;
	}

	public void setCollectionId(Integer collectionId) {
		this.collectionId = collectionId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getAttentionObjectTableName() {
		return this.attentionObjectTableName;
	}

	public void setAttentionObjectTableName(String attentionObjectTableName) {
		this.attentionObjectTableName = attentionObjectTableName;
	}

	public Integer getAttentionObjectId() {
		return this.attentionObjectId;
	}

	public void setAttentionObjectId(Integer attentionObjectId) {
		this.attentionObjectId = attentionObjectId;
	}

	public Timestamp getAttentionTime() {
		return this.attentionTime;
	}

	public void setAttentionTime(Timestamp attentionTime) {
		this.attentionTime = attentionTime;
	}

	public Timestamp getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Boolean getDeleteTag() {
		return this.deleteTag;
	}

	public void setDeleteTag(Boolean deleteTag) {
		this.deleteTag = deleteTag;
	}

	public String getExpandBar1() {
		return this.expandBar1;
	}

	public void setExpandBar1(String expandBar1) {
		this.expandBar1 = expandBar1;
	}

	public String getExpandBar2() {
		return this.expandBar2;
	}

	public void setExpandBar2(String expandBar2) {
		this.expandBar2 = expandBar2;
	}

}